package com.vitas.coin.util;

import android.content.Context;

public class DisplayUtil {

    public static float dip2px(Context context, float dpValue) {
        final float scale = context.getResources().getDisplayMetrics().density;
        return dpValue * scale + 0.5f;
    }
}
